package com.fuyao.cloud.admin.flow.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.fuyao.cloud.admin.flow.dto.InstanceQueryParamsVo;
import com.fuyao.cloud.admin.flow.dto.ProcessInstanceVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IFlowableProcessInstanceMapper {

    /**
     * 查询我的已发任务
     * @param page 分页对象
     * @param params 查询参数对象
     * @return 分页对象
     */
    IPage<ProcessInstanceVo> getMySendTaskPageModel(IPage<ProcessInstanceVo> page, @Param("params") InstanceQueryParamsVo params);
}
